package org.com.coolfish.common.database.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

@Table(name = "kuyu_agent")
@Entity
public class KuyuAgent extends IdEntity implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private Integer uid;
	private String name;
	private String username;
	private String password;
	private String per;
	private String phone;
	private Double amount;
	private Double money;
	private Date addtime;
	private Integer num;
	private Double sum_amount;
	private Integer pid;
	private Integer type;
	private String province;
	private Integer accountType;
	private Date amount_time;
	private Integer issend;
	private String openid;
	private String alipay;
	private String bankCard;
	public KuyuAgent() {
	}
	public KuyuAgent(Integer uid, String per, Double amount) {
		super();
		this.uid = uid;
		this.per = per;
		this.amount = amount;
	}
	
	public KuyuAgent(Double amount) {
		super();
		this.amount = amount;
	}
	
	
	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPer() {
		return per;
	}
	public void setPer(String per) {
		this.per = per;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Double getAmount() {
		return amount;
	}
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	public Double getMoney() {
		return money;
	}
	public void setMoney(Double money) {
		this.money = money;
	}
	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
	public Double getSum_amount() {
		return sum_amount;
	}
	public void setSum_amount(Double sum_amount) {
		this.sum_amount = sum_amount;
	}
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public Integer getAccountType() {
		return accountType;
	}
	public void setAccountType(Integer accountType) {
		this.accountType = accountType;
	}
	public Date getAmount_time() {
		return amount_time;
	}
	public void setAmount_time(Date amount_time) {
		this.amount_time = amount_time;
	}
	public Integer getIssend() {
		return issend;
	}
	public void setIssend(Integer issend) {
		this.issend = issend;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public String getAlipay() {
		return alipay;
	}
	public void setAlipay(String alipay) {
		this.alipay = alipay;
	}
	public String getBankCard() {
		return bankCard;
	}
	public void setBankCard(String bankCard) {
		this.bankCard = bankCard;
	}
	@Override
	public String toString() {
		return "KuyuAgent [id=" + id + ", uid=" + uid + ", name=" + name + ", username=" + username + ", password="
				+ password + ", per=" + per + ", phone=" + phone + ", amount=" + amount + ", money=" + money
				+ ", addtime=" + addtime + ", num=" + num + ", sum_amount=" + sum_amount + ", pid=" + pid + ", type="
				+ type + ", province=" + province + ", accountType=" + accountType + ", amount_time=" + amount_time
				+ ", issend=" + issend + ", openid=" + openid + ", alipay=" + alipay + ", bankCard=" + bankCard + "]";
	}
	
}
